package org.example.service;

import org.example.dto.GradeDto;
import org.example.vo.GradeVo;

import java.util.List;

public interface GradeService {
    Integer addGrade(GradeVo grade);
    Integer updateGrade(GradeVo grade);
    Integer deleteGrade(Integer gradeId);
    List<GradeDto> queryAllGrade();
    Integer countGrade();
    List<GradeDto> queryGradeByDepartmentAndMajor(String department,String major);
    GradeDto queryGradeById(Integer gradeId);
    Integer countGradeByDepartmentAndMajor(String department, String major);
}
